//
//  EGMBleWrite4kOperation.h
//  EGMLibrary
//
//  Created by hh on 17/3/24.
//  Copyright © 2017年 egoman. All rights reserved.
//

#import "EGMBleSportsOperation.h"

#define DATA_BYTES_IN_ONE_PACKET_4K  16
#define DEBUG_ALP 0

@interface EGMBleWrite4kOperation : EGMBleSportsOperation

-(void) writeCrcPacket:(NSInteger)packetIndex crc:(NSInteger)crc lastPacketFlag:(NSInteger)lastPacketFlag allDataLength:(NSInteger)allDataLength;
-(void) writeDataPacket:(NSData*)content packetIndex:(NSInteger)packetIndex;
@end


@interface EGMBleWrite4kOperation (AbstractMethods)
-(UInt8)getCmdCode;
-(NSString*)getDebugFile;
@end
